package org.blogsite.greencode.dao;

import java.util.List;

import org.blogsite.greencode.bean.InstructorManage_Instructor;
import org.blogsite.greencode.bean.Schooling_Instructor_Course;
import org.blogsite.greencode.bean.TeachingSupport_Course;

/**
 * @author：wzj
 * E-mail: jsun789@gmail.com
 * @date：2010-7-28 下午05:40:44
 */
public interface SchoolingManageDAO {
	//授课单保存
	public void save(Schooling_Instructor_Course schoolingInstructorCourse);
	//查询所有课程名称
	public List getAllCourseName();
	//查询所有讲师姓名
	public List getAllInstructorName();
	//查询指定课程名的详细信息
	public TeachingSupport_Course getCourseById(int id);
	//查询指定讲师的详细信息
	public InstructorManage_Instructor getInstructorById(int id);
	//查询所有授课单
	public List getAllTimeTable();
	//查询指定课程号授课单
	public List getTimeTableByCno(int id);
	//查询指定讲师号授课单
	public List getTimeTableByIno(int id);
	//模糊查询授课单
	public List getTimeTableByBlear(String text);
	//修改授课单
	public  void updateTimeTable(Schooling_Instructor_Course schoolingInstructorCourse);
	//删除授课单
	public void deleteTimeTable(Schooling_Instructor_Course schoolingInstructorCourse);
}
